package restdom.validation;

import org.springframework.validation.Errors;

/**
 * 
 * @deprecated
 */
@Deprecated
@SuppressWarnings("serial")
public class ValidationFailedException extends RuntimeException {

	private Errors errors;

	public ValidationFailedException(Errors errors) {
		super();
		this.errors = errors;
	}

	public Errors getErrors() {
		return errors;
	}
}
